<!DOCTYPE html>
<html>
<head>
    <title></title>
    #parse("sys/header.html")
</head>
<body>
<div id="rrapp" v-cloak>
	<div v-show="showList">
        <Row :gutter="16">
            <div class="search-group">
                <i-col span="2">
                    <i-input v-model="q.name" @on-enter="query" placeholder="名称"/>
                </i-col>
                <i-col span="3">
                    <i-input v-model="q.uid" @on-enter="query" placeholder="用户编号"/>
                </i-col>
                <i-button @click="query">查询</i-button>
                <i-button @click="reloadSearch">重置</i-button>
            </div>
            <div class="buttons-group">
                #if($shiro.hasPermission("cashout:info"))
                <i-button type="warning" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;查看</i-button>
                #end
                #if($shiro.hasPermission("cashout:save"))
                <i-button type="info" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</i-button>
                #end
                #if($shiro.hasPermission("cashout:update"))
                <i-button type="warning" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</i-button>
                #end
                #if($shiro.hasPermission("cashout:delete"))
                <i-button type="error" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</i-button>
                #end
                #if($shiro.hasPermission("cashout:export"))
                <i-button type="warning" @click="exportPro"><i class="fa fa-pencil-square-o"></i>&nbsp;导出</i-button>
                #end
            </div>
        </Row>
	    <table id="jqGrid"></table>
	    <div id="jqGridPager"></div>
    </div>

    <Card v-show="!showList">
        <p slot="title">{{title}}</p>
		<i-form ref="formValidate" :model="cashout" :rules="ruleValidate" :label-width="80">
            <Form-item label="" prop="uid">
                <i-input v-model="cashout.uid" placeholder=""/>
            </Form-item>
            <Form-item label="姓名" prop="realName">
                <i-input v-model="cashout.realName" placeholder="姓名"/>
            </Form-item>
            <Form-item label="用户手机号" prop="phone">
                <i-input v-model="cashout.phone" placeholder="用户手机号"/>
            </Form-item>
            <Form-item label="状态0申请提现1提现成功" prop="status">
                <i-input v-model="cashout.status" placeholder="状态0申请提现1提现成功"/>
            </Form-item>
            <Form-item label="提现金额" prop="amount">
                <i-input v-model="cashout.amount" placeholder="提现金额"/>
            </Form-item>
            <Form-item label="所属银行" prop="cardBank">
                <i-input v-model="cashout.cardBank" placeholder="所属银行"/>
            </Form-item>
            <Form-item label="开户行" prop="openBank">
                <i-input v-model="cashout.openBank" placeholder="开户行"/>
            </Form-item>
            <Form-item label="证件类型" prop="orgtype">
                <i-input v-model="cashout.orgtype" placeholder="证件类型"/>
            </Form-item>
            <Form-item label="证件号码" prop="idCardNo">
                <i-input v-model="cashout.idCardNo" placeholder="证件号码"/>
            </Form-item>
            <Form-item label="银行卡号" prop="cardNo">
                <i-input v-model="cashout.cardNo" placeholder="银行卡号"/>
            </Form-item>
            <Form-item label="创建日期" prop="createDate">
                <i-input v-model="cashout.createDate" placeholder="创建日期"/>
            </Form-item>
            <Form-item label="更新日期" prop="updateDate">
                <i-input v-model="cashout.updateDate" placeholder="更新日期"/>
            </Form-item>
            <Form-item>
                <i-button type="primary" @click="handleSubmit('formValidate')">提交</i-button>
                <i-button type="warning" @click="reload" style="margin-left: 8px"/>返回</i-button>
                <i-button type="ghost" @click="handleReset('formValidate')" style="margin-left: 8px">重置</i-button>
            </Form-item>
        </i-form>
	</Card>
</div>

<script src="${rc.contextPath}/js/cash/finish.js?_${date.systemTime}"></script>
</body>
</html>